<?python
  layout_params['pageType'] = 'failed documents'
?>
<html py:layout="'layout.kid'" xmlns:py="http://purl.org/kid/ns#">

<body>

<div py:match="item.get('id') == 'content'" id="content">
<h2>Failed documents</h2>

<table>
<thead>
<tr>
  <th class="doc">Document</th>
  <th>#</th>
  <th>warnings</th>
</tr>
</thead>
<tbody>

<tr py:for="skip, crit, warn, note, problems, doc, details in rep.getFailedDocuments()">
  <td class="doc"><a href="doc_${doc['id']}.html">${doc['title']}</a></td>
  <td class="crit count">$crit</td>
  <td class="crit">$details</td>
</tr>

</tbody>
</table>


</div>

</body>

</html>